Don't infinitely recurse on cyclic path deps
authorAlex Crichton <alex@alexcrichton.com>
Sat, 28 Jun 2014 20:33:29 +0000 (13:33 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 30 Jun 2014 20:18:14 +0000 (13:18 -0700)
commit71e4252a908257bab708c9eed69333ca71ded8c2
treef8395562646a3276b3f8ae3e008cbfc01aaa3b56
parentaa8986ffc431dbb29f447f280408dd73f04694ed
Don't infinitely recurse on cyclic path deps

Instead, keep a table of what we've visited and halt recursion whenever we
re-visit a package.

Closes #77
src/cargo/ops/cargo_read_manifest.rs
tests/test_cargo_compile.rs